<?php
/*
 * Created on 24/08/2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>

<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>
<?php use_stylesheet('/sf/sf_admin/css/main') ?>
 <?php use_helper('Javascript')?>
 <?php use_helper('Javascript','Object')?>
<?php echo javascript_include_tag('ajax') ?>
      <table width="700" border="0" align="center" id="externa">
        <tr>
          <td valign="top"><fieldset>
            <legend>Asignar estudiantes</legend>
              <table width="600" height="100" border="0" align="center">
                <tr bgcolor="#e1e1e1">
                  <td bgcolor="#e1e1e1" height="10" colspan="1" class="estilo1">Datos Personales</td>
                </tr>

                <tr align="left">
                  <td height="15" colspan="0">Decanato:
                  <? $decanatos = DecanatoPeer::doSelect(new Criteria());

				echo select_tag('decanato', options_for_select(array(
				'1' => 'Admon y contaduria',
				'2' => 'Ciencias',
				'3' => 'Agoindustrial',
				'4' => 'Ing. Civil',
				'5' => 'Medicina', )))
				?>


                  </td>

                </tr>
                <tr align="left">
                  <?php echo form_tag('asignarestudiante/datos', array('method' => 'get')) ?>
                  <td height="27">C&eacute;dula:&nbsp;&nbsp;&nbsp;&nbsp;

                     <?php echo input_tag('cedula','123') ?>
    				 <?php echo submit_to_remote('buscar', __('Buscar'), array(
    				  'update' => 'datos_estudiantes',
   					  'url' => 'asignarestudiante/edit',
   					  'with' => "'ajax=1&cedula=' + $('cedula').value",
   					  //'with' => "'param=' + $('micontenido').value'",
  					   )) ?>
                  </td>
                  </form>
                </tr>

                <tr height="130" border = "1" aling = "center">
                <td id = "datos_estudiantes" height="10" colspan="1"></td>

                </tr>

              </table>

          </fieldset>
          </td>
         </tr>
      </table>





